<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title>安装向导</title>
	<link rel="stylesheet" type="text/css" href="/libs/layui/css/layui.css" />
	<style>
		body {
			margin: 15px;
		}

		.install_guide {
			margin: 0 auto;
			border: 1px solid #B5CFD9;
			width: 700px;
			height: 600px;

		}

		.guide_name {
			width: 100%;
			height: 70px;
			background-color: #F0F7FC;
			box-shadow: 0px 1px 2px rgb(141, 170, 182);
			margin-bottom: 20px;
		}

		.name_text {
			font-size: 20px;
			font-family: 'Courier New', Courier, monospace;
			padding: 20px;

		}

		.guide_content {
			width: 660px;
			height: 450px;
			margin: 0 auto;
			overflow-x: hidden;
			overflow-y: scroll;
			font-family: 'Courier New', Courier, monospace;
		}

		.guide_content_header {
			text-align: center;
			font-size: 18px;
			padding-bottom: 10px;
		}

		.guide_footer {
			width: 100%;
			height: 50px;
		}

		.footer_btn {
			margin: 0 auto;
			width: 200px;
		}
	</style>
</head>

<body>
	<div class="install_guide">
		<div class="guide_name">
			<p class="name_text">考勤管理系统 | 安装指导</p>
		</div>
		<div class="guide_content">
			<p class="guide_content_header">授权协议书</p>

			<p>版权所有 (c) 2018-2019，苏州旺满信息科技有限公司保留所有权利。</p>
		</div>
		<div class="guide_footer">
			<div class="footer_btn">
				<button class="layui-btn layui-btn-primary agreeBtn ">我同意</button>
				<button class="layui-btn layui-btn-primary  disAgreeBtn">我不同意</button>
			</div>
		</div>
	</div>
	<script src="/libs/layui/layui.js" type="text/javascript" charset="utf-8"></script>
	<script src="/libs/jquery/jquery.min.js" type="text/javascript"></script>
	<script>
		layui.use(['form', 'layedit', 'laydate'], function () {
			var form = layui.form,
				layer = layui.layer;

			//同意安装协议跳转信息填写界面
			$('.agreeBtn').click(function () {
				window.location.href = '/install/index'
			})

			//不同意安装协议，弹框提示并关闭窗口
			$('.disAgreeBtn').click(function () {
				layer.confirm('您已选择不同意本授权协议，将关闭本窗口', function (index) {
					window.location.href="about:blank";
                    window.close();
				});
			})
		});
	</script>
</body>

</html>